package com.agrm.member.service;

import com.agrm.model.common.dtos.PageRequestDto;
import com.agrm.model.member.dto.MemberQuery;
import com.agrm.model.member.pojo.Member;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface MemberService extends IService<Member> {

    /**
     * 条件分页查询
     * @param page 分页参数
     * @param query 查询参数
     * @return
     */
    IPage<Member> pageQueryList(PageRequestDto page, MemberQuery query);

    Member getById(Integer id);
}
